package com.itheima.restkeeper.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description：
 */
@Data
@NoArgsConstructor
@TableName("tab_payconfig")
@ApiModel(value="Payconfig对象", description="")
public class Payconfig {

    private static final long serialVersionUID = 1L;

    @Builder
    public Payconfig(Long id,String payKey,Integer type){
        this.id=id;
        this.payKey=payKey;
        this.type=type;
    }
    //主键
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    public Long id;

    @ApiModelProperty(value = "支付配置对应的key")
    private String payKey;

    @ApiModelProperty(value = "支付渠道类型")
    private Integer type;


}
